package cz.byteworks.sandbox.html5.newsbox.model;

import java.io.Serializable;
import java.util.Date;

public class NewsMessage implements Serializable {

    private static final long serialVersionUID = -5976788443551545204L;

    private Long messageId;
    private Date sentDate;
    private String sentBy;
    private String title;
    private String body;
    
    
    public NewsMessage(Long messageId, Date sentDate, String sentBy, String title, String body) {
        this.messageId = messageId;
        this.sentDate = sentDate;
        this.sentBy = sentBy;
        this.title = title;
        this.body = body;
    }
    
    public NewsMessage() { }
    
    public Long getMessageId() {
        return messageId;
    }
    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }
    public Date getSentDate() {
        return sentDate;
    }
    public void setSentDate(Date sentDate) {
        this.sentDate = sentDate;
    }
    public String getSentBy() {
        return sentBy;
    }
    public void setSentBy(String sentBy) {
        this.sentBy = sentBy;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getBody() {
        return body;
    }
    public void setBody(String body) {
        this.body = body;
    }
    
    
    
}
